package cn.sciento.farm.devicemanager.dao.mapper;

import cn.sciento.farm.devicemanager.dao.entity.DevAlarm;
import cn.sciento.farm.devicemanager.dao.model.AlarmForm;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wumu
 * @since 2019-11-12
 */
public interface DevAlarmMapper extends BaseMapper<DevAlarm> {

    List<AlarmForm> getByAreaId(int areaId);

    AlarmForm getById(Long id);

    List<AlarmForm> getByCollectionId(Long id);
}
